package com.crazy.web.receivers;

import lombok.extern.log4j.Log4j2;

/**
 * @author zhaochaofeng
 * @version 1.0
 * @date 2021/1/6 11:44
 */
@Log4j2
public class Receiver1 extends BaseReceiver{

    @Override
    public String getChannel() {
        return "channel-1";
    }

    @Override
    public void receiveMessage(String message) {
        log.info("老大，接收到的消息:{}", message);
    }
}
